package com.heima.pd.web;

import com.heima.pd.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("测试接口")
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/1")
    public ResponseResult test(){
        return ResponseResult.okResult("测试成功");
    }
}
